package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 附件对象 doc_newfile
 * 
 * @author ruoyi
 * @date 2023-09-27
 */
public class DocNewfile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附件id */
    private Long fileid;

    /** url */
    @Excel(name = "url")
    private String url;

    /** 新名称 */
    @Excel(name = "新名称")
    private String newFileName;

    /** 名称 */
    @Excel(name = "名称")
    private String fileName;

    /** nri名称 */
    @Excel(name = "nri名称")
    private String originalFilename;

    public void setFileid(Long fileid) 
    {
        this.fileid = fileid;
    }

    public Long getFileid() 
    {
        return fileid;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setNewFileName(String newFileName) 
    {
        this.newFileName = newFileName;
    }

    public String getNewFileName() 
    {
        return newFileName;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setOriginalFilename(String originalFilename) 
    {
        this.originalFilename = originalFilename;
    }

    public String getOriginalFilename() 
    {
        return originalFilename;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileid", getFileid())
            .append("url", getUrl())
            .append("newFileName", getNewFileName())
            .append("fileName", getFileName())
            .append("originalFilename", getOriginalFilename())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
